Close the stable door after the horse has bolted


Close the stable door after the horse has bolted
  If people try to fix something after the problem has occurred, they are trying to close the stable door after the horse has bolted. 'Close the barn door after the horse has bolted' is alternative, often used in American English.

Dictionary of English idioms . . 2014.